package com.domain;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "enterprise")
public class EnterPrise {
    private String name;

    public void setName(String name) {
        this.name = name;
    }

    public void setAge(String age) {
        this.age = age;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    private String age;
    private String tel;
   public String toString(){
       return "name="+name+",age"+age+",tel"+tel;
   }

}
